package com.shark.uh.model.vo;

import com.shark.uh.model.entity.User;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class RoleCreatorVO {

    public RoleCreatorVO(User user) {
        this.userId = user.getId().toString();
        this.username = user.getUsername();
        this.status = user.getStatus();
    }

    private String userId;
    private String username;
    private String status;
}
